package cxt.cn.community.entity.Dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/*
 * @Author chenxiaotian
 * @Description:
 * @Date:2023012023/1/6
 * @Time:12:06
 */
@Data
@ApiModel("AdminRegisterDto :: 忘记密码")
public class ModifyDto {

    /**
     * 帐号
     */
    @ApiModelProperty("帐号")
    @NotBlank(message = "帐号不能为空")
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    private String password;
}
